package com.wanxing.sellerapp.data.db

import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.Query
import com.wanxing.sellerapp.data.bean.SyncOrder

@Dao
interface SyncOrderDao {

    @Insert
    fun insertAll(vararg orders: SyncOrder)

    @Query("select * from syncorder")
    fun getAll(): List<SyncOrder>

    @Delete
    fun deleteRecord(vararg orders: SyncOrder)

}